home *** CD-ROM | disk | FTP | other *** search
/ Aminet 48 / Aminet 48 (2002)(GTI - Schatztruhe)[!][Apr 2002].iso / Aminet / text / edit / vim60rt.lha / Vim / vim60 / ftplugin / make.vim < prev    next >
Encoding:
Text File  |  2001-02-17  |  655 b   |  24 lines

  1. " Vim filetype plugin file
  2. " Language:    Make
  3. " Maintainer:    Bram Moolenaar <Bram@vim.org>
  4. " Last Change:    2001 Feb 16
  5.  
  6. " Only do this when not done yet for this buffer
  7. if exists("b:did_ftplugin")
  8.   finish
  9. endif
  10. let b:did_ftplugin = 1
  11.  
  12. " Make sure a hard tab is used, required for most make programs
  13. setlocal noexpandtab softtabstop=0
  14.  
  15. " Set 'formatoptions' to break comment lines but not other lines,
  16. " and insert the comment leader when hitting <CR> or using "o".
  17. setlocal fo-=t fo+=croql
  18.  
  19. " Set 'comments' to format dashed lists in comments
  20. setlocal com=sO:#\ -,mO:#\ \ ,b:#
  21.  
  22. " Set 'commentstring' to put the marker after a #.
  23. setlocal commentstring=#\ %s
  24.